﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using FwProject.Comm.ExcelUtil;
using FwProject.ShoppingMall.Com;

namespace FwProject.Com.Dto
{
    [DisplayName(displayName:"结算单")]
    public class SupplierSettlementOutput
    {
        /// <summary>
        /// 审核状态
        /// </summary>
        [DisplayName(displayName: "审核状态")]
        [ExcelDateMember]
        public ExamineStatus ExamineStatus { get; set; }

        public Guid Id { get; set; }
        /// <summary>
        /// 供应商名称
        /// </summary>
        [DisplayName(displayName:"供应商")]
        [ExcelDateMember]
        public string SupplierName { get; set; }

        /// <summary>
        /// 结算时间
        /// </summary>
        [DisplayName(displayName: "结算时间")]
        [ExcelDateMember]
        public DateTime SettlementTime { get; set; }

        /// <summary>
        /// 结算金额
        /// </summary>
        [DisplayName(displayName: "结算金额")]
        [ExcelDateMember(IsSum =true)]
        public decimal SettlementPrice { get; set; } = 0m;

        /// <summary>
        /// 结算优惠金额
        /// </summary>
        [DisplayName(displayName: "优惠金额")]
        [ExcelDateMember]
        public decimal SettlementPreferentia { get; set; } = 0m;

        /// <summary>
        /// 结算实际金额
        /// </summary>
        [DisplayName(displayName: "实际金额")]
        [ExcelDateMember(IsSum =true)]
        public decimal SettlementAmount { get; set; } = 0m;

        /// <summary>
        /// 实际结算人
        /// </summary>
        [DisplayName(displayName: "结算人")]
        [ExcelDateMember]
        public string SettlementUser{ get; set; }
       
    }
}
